home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / ATL_Samples / compctrl / StdAfx.h < prev   
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1.2 KB  |  37 lines

  1. // stdafx.h : include file for standard system include files,
  2. //      or project specific include files that are used frequently,
  3. //      but are changed infrequently
  4.  
  5. #if defined(_WIN32_WCE_PSPC) && (_WIN32_WCE == 201)
  6.     #error "This sample is not available for Gryphon Palm-Size devices."
  7. #endif
  8.  
  9. #if defined(_WIN32_WCE) && (_WIN32_WCE < 200)
  10.     #error "This sample is only compatible with ATLCE 2.0 or later."
  11. #endif
  12.  
  13. #if !defined(AFX_STDAFX_H__E5E40585_B83C_11D1_ACC1_00600820B4FF__INCLUDED_)
  14. #define AFX_STDAFX_H__E5E40585_B83C_11D1_ACC1_00600820B4FF__INCLUDED_
  15.  
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19.  
  20. #ifndef _WIN32_WINNT
  21. #define _WIN32_WINNT 0x0400
  22. #endif
  23. #define _ATL_APARTMENT_THREADED
  24.  
  25. #include <atlbase.h>
  26. //You may derive a class from CComModule and use it if you want to override
  27. //something, but do not change the name of _Module
  28. extern CComModule _Module;
  29. #include <atlcom.h>
  30. #include <atlhost.h>
  31. #include <atlctl.h>
  32.  
  33. //{{AFX_INSERT_LOCATION}}
  34. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  35.  
  36. #endif // !defined(AFX_STDAFX_H__E5E40585_B83C_11D1_ACC1_00600820B4FF__INCLUDED)
  37.